home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{7FAAA564-03CB-11D2-84F4-444553540000}#1.0#0"; "RSCalendar.dll"
- Begin VB.Form Form1
- Caption = "RSCalendar ActiveX Control Sample"
- ClientHeight = 3045
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 5505
- ForeColor = &H80000007&
- LinkTopic = "Form1"
- ScaleHeight = 3045
- ScaleWidth = 5505
- StartUpPosition = 3 'Windows Default
- Begin RSCALENDARLibCtl.RSCalendarCtrl RSCalendarCtrl1
- Bindings = "Form1.frx":0000
- DataField = "BirthDate"
- DataSource = "Data1"
- Height = 315
- Left = 1800
- TabIndex = 6
- Top = 1800
- Width = 2655
- Appearance = 1
- Enabled = -1 'True
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 204
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = -2147483640
- BackColor = -2147483643
- rsHighliteColor = -2147483635
- rsOutlineTodayColor= 128
- rsActiveMonthColor= -2147483640
- rsOtherMonthColor= -2147483631
- BeginProperty rsCalendarFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- DateFormat = "dddd, MMMM dd, yyyy"
- FirstWeekDay = 0
- TodayText = "Today"
- NoneText = "None"
- Text = ""
- rsUnSelectableColor= -2147483631
- FirstDate = 0
- EnableFirstDate = 0 'False
- EnableLastDate = 0 'False
- LastDate = 0
- End
- Begin VB.Data Data1
- Caption = "Data"
- Connect = "Access"
- DatabaseName = "C:\DEV\ATL\RSCalendar\VBTest\demo.mdb"
- DefaultCursorType= 0 'DefaultCursor
- DefaultType = 2 'UseODBC
- EOFAction = 2 'Add New
- Exclusive = 0 'False
- Height = 375
- Left = 480
- Options = 0
- ReadOnly = 0 'False
- RecordsetType = 1 'Dynaset
- RecordSource = "catalog"
- Top = 2400
- Width = 1935
- End
- Begin VB.TextBox Text2
- DataField = "LastName"
- DataSource = "Data1"
- Height = 285
- Left = 1800
- TabIndex = 4
- Text = "Text2"
- Top = 1320
- Width = 2655
- End
- Begin VB.TextBox Text1
- DataField = "FirstName"
- DataSource = "Data1"
- Height = 285
- Left = 1800
- TabIndex = 2
- Text = "Text1"
- Top = 840
- Width = 2655
- End
- Begin VB.Label Label4
- Caption = "Date of birth"
- Height = 255
- Left = 360
- TabIndex = 5
- Top = 1800
- Width = 1095
- End
- Begin VB.Label Label3
- Caption = "Last Name"
- Height = 255
- Left = 360
- TabIndex = 3
- Top = 1320
- Width = 1215
- End
- Begin VB.Label Label2
- Caption = "First Name"
- Height = 255
- Left = 360
- TabIndex = 1
- Top = 840
- Width = 1335
- End
- Begin VB.Label Label1
- Caption = "Simple Data Entry Form"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 12
- Charset = 204
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 375
- Left = 120
- TabIndex = 0
- Top = 120
- Width = 4695
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Form_Load()
- Dim szPath As String
- szPath = App.Path + "\Demo.mdb"
- Data1.DatabaseName = szPath
- End Sub
-